package com.yicong.ants.bean.common;

/**
 * @author cch
 * @version 2021/1/22
 */
public class UploadFile {
    String file_url;
    String cover_url;
    String file;
    String url;

    public UploadFile() {
    }

    public String getFile_url() {
        return this.file_url;
    }

    public String getCover_url() {
        return this.cover_url;
    }

    public String getFile() {
        return this.file;
    }

    public String getUrl() {
        return this.url;
    }

    public void setFile_url(String file_url) {
        this.file_url = file_url;
    }

    public void setCover_url(String cover_url) {
        this.cover_url = cover_url;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof UploadFile)) return false;
        final UploadFile other = (UploadFile) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$file_url = this.getFile_url();
        final Object other$file_url = other.getFile_url();
        if (this$file_url == null ? other$file_url != null : !this$file_url.equals(other$file_url))
            return false;
        final Object this$cover_url = this.getCover_url();
        final Object other$cover_url = other.getCover_url();
        if (this$cover_url == null ? other$cover_url != null : !this$cover_url.equals(other$cover_url))
            return false;
        final Object this$file = this.getFile();
        final Object other$file = other.getFile();
        if (this$file == null ? other$file != null : !this$file.equals(other$file)) return false;
        final Object this$url = this.getUrl();
        final Object other$url = other.getUrl();
        if (this$url == null ? other$url != null : !this$url.equals(other$url)) return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof UploadFile;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $file_url = this.getFile_url();
        result = result * PRIME + ($file_url == null ? 43 : $file_url.hashCode());
        final Object $cover_url = this.getCover_url();
        result = result * PRIME + ($cover_url == null ? 43 : $cover_url.hashCode());
        final Object $file = this.getFile();
        result = result * PRIME + ($file == null ? 43 : $file.hashCode());
        final Object $url = this.getUrl();
        result = result * PRIME + ($url == null ? 43 : $url.hashCode());
        return result;
    }

    public String toString() {
        return "UploadFile(file_url=" + this.getFile_url() + ", cover_url=" + this.getCover_url() + ", file=" + this.getFile() + ", url=" + this.getUrl() + ")";
    }
}
